package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementHistoryOtherMapper;
import com.base.po.replacement.ReplacementHistoryOther;
import com.base.po.replacement.ReplacementHistoryOtherExample;
import com.base.service.ReplacementHistoryOtherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementHistoryOtherService")
public class ReplacementHistoryOtherServiceImpl implements ReplacementHistoryOtherService {
	
	@Autowired
	private ReplacementHistoryOtherMapper replacementHistoryOtherMapper;


	@Override
	public int countByExample(ReplacementHistoryOtherExample example) {
		return replacementHistoryOtherMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementHistoryOtherExample example) {
		return replacementHistoryOtherMapper.deleteByExample(example);
	}

	@Override
	public int insert(ReplacementHistoryOther record) {
		return replacementHistoryOtherMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementHistoryOther record) {
		return replacementHistoryOtherMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementHistoryOther> selectByExample(ReplacementHistoryOtherExample example) {
		return replacementHistoryOtherMapper.selectByExample(example);
	}

	@Override
	public int updateByExampleSelective(ReplacementHistoryOther record, ReplacementHistoryOtherExample example) {
		return replacementHistoryOtherMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementHistoryOther record, ReplacementHistoryOtherExample example) {
		return replacementHistoryOtherMapper.updateByExample(record, example);
	}
}
